package com.xxx.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxx.user.domain.User;
import com.xxx.user.mapper.UserMapper;
import com.xxx.user.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author blijojo
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
        implements UserService {

    private final UserMapper userMapper;

    public UserServiceImpl(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @Override
    public List<String> findIds() {
        return userMapper.selectId();
    }
}




